<?php
function collect_data($name){/**/
$host="127.0.0.1";
$username="root";
$password="";
$dbName="cangku_DB";
$connID=mysqli_connect($host,$username,$password);
mysqli_query($connID,"set names utf8");
$sql = "select mima from yhb where YH_id='".$name."'";
	if(mysqli_select_db($connID,$dbName)){
	$result = mysqli_query($connID,$sql);
	 
	$colum= mysqli_fetch_array($result);
	}
return $colum;
}
?>